﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace RM.Entities
{
    [DataContract(IsReference=true)]
    public class BaseEntity
    {
        [DataMember]
        public virtual int Id { get; set; }
        [DataMember]
        public virtual Employee CreatedBy { get; set; }
        [DataMember]
        public virtual Employee ModifiedBy { get; set; }
        [DataMember]
        public virtual DateTime CreatedDate { get; set; }
        [DataMember]
        public virtual DateTime ModifiedDate { get; set; }
    }
}
